import { ref } from 'vue'
export const useAdd = () => {
  // 定义属性和方法
  const count = ref(0)
  const add = () => {
    count.value++
  }

  return {
    count,
    add
  }
}